﻿using EFCore.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SIService
{
    public interface InventorytypeSI
    {
        //查询入库类型的全部
        Task<List<Sys_Inventorytype>> Iqu();
        //查询出库类型的全部
        Task<List<Sys_Inventorytype>> Iqu1();
        //出入库类型分页模糊查询
        Task<List<Sys_Inventorytype>> FenYe(int pageSize, int currentPage, string Key = null, bool? Status = null, bool? Direction = null, string Operator = null);
        //出入库类型添加
        Task<int> Add(Sys_Inventorytype typeAdd);
        //出入库类型修改
        Task<int> Upd(Sys_Inventorytype typeUpd);
        //逻辑删除
        public Task<int> UpdIsDelete(int id, bool isDeleted);
    }
}
